package com.minshenglife.zanzan.service;

import java.util.Date;

import com.minshenglife.commons.dal.Page;
import com.minshenglife.zanzan.entity.Integral;


/**
 * 积分流水service
 * @author huodd
 *
 */
public interface IntegralService {

	public void add(Integral inte);
	
	/**
	 * 获取指定期限内获得红花的总数
	 * @param empId
	 * @param startDate
	 * @param endDate
	 * @return
	 */
	public Long getAddIntegralCountOfTerm(String empId,Date startDate,Date endDate,String integralType);
	/**
	 * 获取指定期限内获得红花的总数
	 * @param empId
	 * @param startDate
	 * @param endDate
	 * @return
	 */
	public Page<Integral> getAddIntegralInfoOfTerm(String empId,Date startDate,Date endDate, int pageNo, int pageSize,String integralType);
}
